import request from '@/utils/request'
// 查询
export function fetchList(data) {
  return request({
    url: '/bdc/manual-operate',
    method: 'get',
    params: data
  })
}
// 新增
export function createData(data) {
  return request({
    url: '/bdc/manual-operate',
    method: 'post',
    data
  })
}
// 编辑
export function updateData(data) {
  return request({
    url: '/bdc/manual-operate',
    method: 'put',
    data
  })
}
// 删除
export function deleteById(id) {
  return request({
    url: `/bdc/manual-operate/${id}`,
    method: 'delete'
  })
}

// 测试发送数据
export function postData(data) {
  return request({
    url: '/mesWeb/IMESVehicleService/service/VehicleCtrl/scan',
    method: 'post',
    data
  })
}

